﻿@model PaggingResultModel<TMT_CMS.BL.DB.TransportType, TMT_CMS.BL.Model.BasicData.BasicDataSearchModel>
<!-- Box -->
<div class="box">
    <!-- Box Head -->
    <div class="box-head">
        <h2 class="left">
            运输方式 </h2>
    </div>
    <!-- End Box Head -->
    <!-- Table -->
    <div class="table">
        @if (Model.TotalPageCount > 0)
        {
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <th>
                        运输方式编号
                    </th>
                    <th>
                        中文名字
                    </th>
                    <th>
                        英文名字
                    </th>
                   
                </tr>
                @{var odd=true;}
                @foreach (var transport in Model.ResultList)
                {
                    <tr  class="@(odd ? "odd" : "")">
                        <td>
                            @transport.ID
                        </td>
                        <td>
                            @transport.ChineseName
                        </td>
                        <td>
                            @transport.EnglishName
                        </td>
                        
                    </tr>

                    odd = !odd;
                }
            </table>
        }
        else
        {
            <div class="empty">
                没有记录</div>
        }
        <!-- Pagging -->
        <div class="pagging">
            @Html.BuildViewCount(Model)
            @Html.BuildPaggingFooter(Model, "BasicData", "ShowTransportType")
        </div>
        <!-- End Pagging -->
    </div>
    <!-- Table -->
</div>
<!-- End Box -->
<!-- Sidebar -->
@section SideBar {
    <!-- Box -->
    <div class="box">
        <!-- Box Head -->
        <div class="box-head">
            <h2>
                基础数据维护</h2>
        </div>
        <!-- End Box Head-->
        <div class="box-content">
            <a href="@Url.Action("Index", "BasicData")" class="add-button"><span>
                基础数据维护列表</span></a>
            <div class="cl">
                &nbsp;</div>
        </div>
    </div>
    <!-- End Box -->
}